package com.zr.daoimpl;

import java.util.List;

import org.hibernate.Query;
import org.springframework.stereotype.Repository;

import com.zr.dao.CBBStationDao;
import com.zr.model.Cdisstation;
/**
 * 
 * @author Administrator lxg
 *
 * 
 */
@Repository("CBBSdaim")
public class CBBStationDaoImpl<T> extends BaseDaoImpl<T> implements CBBStationDao{
	//增加配送点的下拉框
	@Override
	public List<Cdisstation> findStation() {
		String hql="from Cdisstation";
		Query query=this.getSessionFactory().openSession().createQuery(hql);
		List<Cdisstation> li=query.list();
		return li;
	}

}
